﻿using SL651Center2.x.Enums;

namespace SL651Center2.x.Messages
{
    /// <summary>
    /// 要素数据
    /// </summary>
    public class ElementData
    {
        /// <summary>
        /// 要素编码
        /// </summary>
        public ElementCode Code { get; set; }
        /// <summary>
        /// 要素名称
        /// </summary>
        public string Name { get; set; } = string.Empty;
        /// <summary>
        /// 单位
        /// </summary>
        public string Unit { get; set; } = string.Empty;
        /// <summary>
        /// 数据
        /// </summary>
        public decimal Value { get; set; }
    }
}
